package com.medata.service;

import com.medata.dataObject.History;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

@Service
public interface HistoryService {
    Page<History> findByUserName(String username,Pageable pageable);
    void save(History history);
    void deleteAll();
}
